Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
Data Structures


Windows Device and Clip Structures

QuickDraw 3D RAVE supports two types of devices and one type of clipping on Windows 32 systems. The available devices and clipping are defined by unions of type TQAPlatformDevice and TQAPlatformClip.

typedef union TQAPlatformDevice {
   TQADeviceMemory            memoryDevice;
   HDC                        hdc;
   struct {
      LPDIRECTDRAW            lpDirectDraw;
      LPDIRECTDRAWSURFACE     lpDirectDrawSurface;
   };
} TQAPlatformDevice;
Field Description
memoryDevice
A memory device data structure.
hdc
A handle to a draw context.
lpDirectDraw
[To be supplied.]
lpDirectDrawSurface
[To be supplied.]
typedef union TQAPlatformClip {
   HRGN                       clipRgn;
} TQAPlatformClip
Field Description
clipRgn
A handle to a clipping region.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996